﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfMvvmDemo.ViewModels;

namespace WpfMvvmDemo
{
    /// <summary>
    /// 主窗口ViewModel
    /// </summary>
    public class MainWindowViewModel:ObservableObject
    {
        /// <summary>
        /// TestViewModel
        /// </summary>
        private TestViewModel _testViewModel = new TestViewModel();
        public TestViewModel CurTestViewModel
        {
            get => _testViewModel;
            set => SetProperty(ref _testViewModel, value);
        }

        /// <summary>
        /// StyleViewModel
        /// </summary>
        private StyleViewModel _styleViewModel = new StyleViewModel();
        public StyleViewModel CurStyleViewModel
        {
            get => _styleViewModel;
            set => SetProperty(ref _styleViewModel, value);
        }

        public MainWindowViewModel()
        {
            
        }
    }
}
